package com.jfeat.am.module.wegou.services.domain.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.jfeat.am.common.persistence.model.User;
import com.jfeat.am.module.wegou.services.domain.dao.QueryUserDao;
import com.jfeat.am.module.wegou.services.domain.model.UserModel;
import com.jfeat.am.module.wegou.services.domain.service.QueryUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2018/2/3.
 */
@Service
public class QueryUserServiceImpl implements QueryUserService {
    @Resource
    QueryUserDao queryUserDao;

    public List<UserModel> findUserPage(Page<UserModel> page, User user, String identity) {
        return queryUserDao.findUserPage(page, user, identity);
    }

}
